package com.zzb.projectfactory.controller.interceptor;

/**
 * 通用拦截器
 * Created by zhangzhenbin on 17-2-22.
 */
public class WebCommonInterceptor extends AbstractWebInterceptor {
    private static String redirectUrl = "/login";
    private static String [] urlPattern = new String[]{
            "/user/*"
    };
    @Override
    public String[] getUrlPattern() {
        return urlPattern;
    }

    @Override
    public String getRedirectUrl() {
        return redirectUrl;
    }

}
